package jdk8.defaultX.method;

/**
 * @author xiaoming
 * @version 1.0
 * @date 2019-05-07 22:04
 **/
public interface Vehicle {
    // 默认方法
    default void print() {
        System.out.println("Software as a Service");
    }

    // 静态方法
    static void test() {
        System.out.println("static method");
    }
}
